package com.qf.smartplatform.controller;

import com.qf.smartplatform.dto.R;
import com.qf.smartplatform.pojo.SysHumiture;
import com.qf.smartplatform.websocket.HumitureWebSocketHandler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;

/*** @author Tgb
 * @version V1.0
 * @Project smartplatform
 * @Package com.qf.smartplatform.controller
 * @Description:
 * @Date 2022/9/14 21:27
 */
@RestController
@RequestMapping("/humiture")
public class HumitureController {
    private HumitureWebSocketHandler humitureWebSocketHandler;

    @Autowired
    public void setHumitureWebSocketHandler(HumitureWebSocketHandler humitureWebSocketHandler) {
        this.humitureWebSocketHandler = humitureWebSocketHandler;
    }

}
